"""测试用例 执行"""

import unittest

# 1 初始化
from config.setting import config
from libs import HTMLTestRunner

test_loader = unittest.TestLoader()
# 2 手机测试用例

test_suit = test_loader.discover(config.test_cases)
# print(config.file_path)
# run 测试报告
with open(config.file_path,mode="wb") as f:
    runner = HTMLTestRunner.HTMLTestRunner(f,verbosity=2,title="测试报告",description="描述",)
    runner.run(test_suit)



